Package com.cisco.pt.ipc.sim
Interface IkePolicy
- All Superinterfaces:
IPCObject
- All Known Implementing Classes:
IkePolicyImpl
Information provided by the PKI file:
\class IkePolicy
\brief IkePolicy handles and manipulates IKE policies.
\example network().getDevice("Router0").getProcess("IpsecProcess").getIkePolicyAt(0)
- Author:
- Auto-generated
-
Method Summary
Modifier and TypeMethodDescriptionintInformation provided by the PKI file:intInformation provided by the PKI file:intInformation provided by the PKI file:voidsetLifetime(int lifetime) Information provided by the PKI file:voidsetPriorityNum(int number) Information provided by the PKI file:Methods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession
-
Method Details
-
setPriorityNum
void setPriorityNum(int number) Information provided by the PKI file:
\brief Sets the priority value. \param number, the priority value.- Parameters:
number- Takes in a parameter of number
-
getPriorityNum
int getPriorityNum()Information provided by the PKI file:
\brief Returns the priority value. \return int, the priority value.- Returns:
- int Returns a int
-
getEncryKeyBits
int getEncryKeyBits()Information provided by the PKI file:
\brief Returns the number of bits in the encryption key. \return int, the number of bits in the encryption key.- Returns:
- int Returns a int
-
setLifetime
void setLifetime(int lifetime) Information provided by the PKI file:
\brief Sets the lifetime for the IKE policy. \param lifetime, the lifetime value.- Parameters:
lifetime- Takes in a parameter of lifetime
-
getLifetime
int getLifetime()Information provided by the PKI file:
\brief Returns the lifetime value for the IKE policy. \return int, the lifetime value for the IKE policy.- Returns:
- int Returns a int
-